#ifndef OTA_HANDLE_H
#define OTA_HANDLE_H


#include <stdio.h>
#include <string.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_system.h"
#include "esp_event.h"
#include "esp_log.h"
#include "esp_ota_ops.h"
#include "esp_http_client.h"
#include "esp_https_ota.h"
#include "esp_crt_bundle.h"

//#include "../lwip/report.h"
#include "../cache_RT/report_config.h"
#include "../LOG.h"
#include "../Product_Config.h"
#define HASH_LEN 32
extern uint8_t ota_data[200];
void init_http_ota();
#endif